Project Management Integration
BuildPulse can track flaky tests in Jira Cloud and in GitHub Issues. If you use another tracker, you can paste an issue URL onto a flaky test to link it, and you can email support@buildpulse.io to request an integration.
Capabilities
- File a Jira ticket automatically when a test is quarantined.
- Release a test from quarantine when its Jira ticket moves to Done, or when its linked GitHub issue is closed.
- Create a Jira ticket or a GitHub issue by hand from a flaky test's page.
Jira
Connect
- In BuildPulse, open your organization's Integrations page and select the Jira tab. Only an owner or admin of the organization can connect Jira.
- Under Connect Jira Cloud, click Connect and fill in three fields:
- Jira Domain: your Atlassian domain, for example
acmeforacme.atlassian.net. - Email: the email of an Atlassian user. Tickets are created as this user. A dedicated service account works well.
- API Token: an API token for that user. See Atlassian's instructions.
- Jira Domain: your Atlassian domain, for example
The user needs permission to browse the project and create issues. If the user is a Jira administrator, BuildPulse also registers a webhook, and the Integrations page shows Webhook active. Atlassian API tokens expire; when Jira starts rejecting the token, use Reconnect to replace it. Reconnecting keeps your project links and existing tickets.
Link repositories to projects
On the same page, in the Repository → Jira Project Mapping table, choose a Jira project for each repository and click Link. Each link has two options:
- Auto-create tickets on quarantine, on by default.
- Extra labels (comma-separated). Every ticket also gets the label
buildpulse.
What happens
- When a test in a linked repository is quarantined, automatically or by hand, and has no issue linked yet, BuildPulse files a ticket titled
[BuildPulse] Flaky Test: <test name>. It uses the project's Story, Task or Bug issue type (the first of those the project has) and includes the test's suite and file, its failure rate and disruptions, and links to the failing build and to the test in BuildPulse. - The Create Jira Issue button on a flaky test's page files a ticket at any time, even with auto-create off.
- When the ticket moves to a status in Jira's Done category, the test is released from quarantine, unless the ticket's resolution says the test was not fixed (for example Duplicate, Won't Do, Won't Fix or Cannot Reproduce). With the webhook active this happens straight away. Without it, BuildPulse checks ticket status when someone opens the repository's Flaky Tests tab.
- Disconnect unlinks every project and removes the Jira links from your tests. Tickets already in Jira are not deleted, but closing them no longer releases tests.
GitHub Issues
On a flaky test's page, Create Issue opens a GitHub issue for the test in the same repository. This needs the BuildPulse GitHub App installed on your organization. Closing the issue releases the test from quarantine.
Linking an existing issue
On a flaky test's page, the link button ("Link existing issue URL") attaches the URL of an issue you already have. A Jira link added this way is for reference: BuildPulse does not track that ticket's status.